-- GENERATED SPELL FOR [Deviate Crocolisk] --


function spell0_5053(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5053', 8000, 1)
end

function Sorts_5053(pUnit, Event)
local choix_sorts_5053 = math.random(0, 0)
if choix_sorts_5053 == 0 then
pUnit:RegisterEvent('spell0_5053', 1, 1)
end
end

function mob5053_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5053', math.random(1500, 3000), 1)
end

function mob5053_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5053_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5053_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5053, 1, 'mob5053_Action')
RegisterUnitEvent(5053, 2, 'mob5053_Leave')
RegisterUnitEvent(5053, 3, 'mob5053_Kill')
RegisterUnitEvent(5053, 4, 'mob5053_Die')
